import { Moment } from

moment;
import { EquTableDataItem } from

.
/equ-table;;
import { OrgNode } from

@/
pages / routes / table / equ - table / service;
import { OrgDataItem } from

@/
pages / routes / table / equ - table / interface;

/**
 * 方案
 */
export interface CaseDataItem {
  id: string;
  /**
   * 方案名称
   */
  name: string;
  type: number;
  area: number;
  createUser: string;
  updateDate: string;
  startDate: string;
  endDate: string;
  remark: string;
}

interface DataItem {
  ownNet: string;
  bdh: string;
  description: string;
  open: boolean;
}

interface TableProps {
  dataSource: DataItem[];
  onDelete: (record: DataItem) => void;
  onAdd: (record: DataItem) => void;
  onSelectEqu: (record: DataItem) => void;
}

export interface DResponse<T = any> {
  code: number;
  msg: string;
  data: T;
}

export interface enCloseData {
  name: string;
}

export interface ValueObject {
  name: string;
  type: number;
  area: number;
  startDate: Moment | undefined;
  endDate: Moment | undefined;
  ds: EquTableDataItem[];
  ts: EquTableDataItem[];
  hf: EquTableDataItem[];
  scdd: string;
  gwyx: string;
  scyx: string;
  bmzz: OrgDataItem[];
  mark: string;
}


export interface AttachmentObject {
  id: number;
  contentType: string;
  size: number;
  name: string;
  type: string;
  remark: string;
  adddate: string;
  objectId: number;
  creator: string;
  alias: string;
  tablename: string;
  layerId: number;
  relurl: string;
  virurl: string;
}
